package xyz.yuelai.blog.entity;

import java.io.Serializable;

/**
 * 文章类,包括文章简介类和文章详情类
 * 
 * @author l1103
 *
 */
public class Article implements Serializable {
	private static final long serialVersionUID = 2523085941973910907L;
	private ArticleBrief brief; 	// 文章简介
	private ArticleDetail detail; 	// 文章详情

	public Article() {
	}

	public Article(ArticleBrief brief, ArticleDetail detail) {
		this.brief = brief;
		this.detail = detail;
	}

	public ArticleBrief getBrief() {
		return brief;
	}

	public void setBrief(ArticleBrief brief) {
		this.brief = brief;
	}

	public ArticleDetail getDetail() {
		return detail;
	}

	public void setDetail(ArticleDetail detail) {
		this.detail = detail;
	}

	public static void main(String[] args) {

	}

}
